package main

import "fmt"

var arry [10]int = [10] int {10,9,43}

var arrySlice = arry[:5]

func main() {
	fmt.Println("arrySlice arry's Elements is ", arrySlice[:10])

	for  _, v := range arrySlice  {
		fmt.Println("this is Element is ", v)
	}

	for v := 0; v < len(arrySlice) ; v ++ {
		fmt.Println(arrySlice[v])
	}

	test := make([]int,5,10)

	for v := 0; v < len(test) ; v ++ {
		fmt.Println("testss",test[v])
	}

	var newArraySlice = append(arrySlice,1)

	var copyMount = copy(newArraySlice,arrySlice)

	fmt.Println("copy elements amount is ", copyMount)

	for  v := 0; v < len(newArraySlice) ; v ++ {
		fmt.Println("elements is ", newArraySlice[v])
	}

}

